﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="HQWeb.SysManage.UniualMateral.Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Styles/Site.css" rel="Stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
        //选择
        function openTreeSelect(vObjID, vObjName, vObjParam) {
            var vURL = '../../Resources/SelectFrame.aspx?MaterialID=' + vObjID + '&MaterialName=' + vObjName + '&Param=' + vObjParam;
            //vURL = vURL + '&objname=' + vObjName + '&objid=' + vObjID;
            window.open(vURL, "", "top=150px,left=200px,height=600px,width=800px");

        }</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align="center" width="98%">
            <tr>
                <td colspan="4" class="title">
                    推荐物件
                </td>
            </tr>
            
            <tr>
                <td align="right">
                    物品名称：
                </td>
                <td class="content">
                    <asp:TextBox ID="txt_name" runat="server" MaxLength="50"></asp:TextBox>
                    <input type="button" value="请选择" onclick="openTreeSelect('txtHidMID','txt_name','1')" />
                </td>
            </tr>
            <tr>
                <td align="right">
                    月份：
                </td>
                <td>
                    <asp:DropDownList ID="dropMonth" runat="server">
                    <asp:ListItem Value="" Text="--请选择--"></asp:ListItem>
                        <asp:ListItem Value="1" Text="一月份"></asp:ListItem>
                        <asp:ListItem Value="2" Text="二月份"></asp:ListItem>
                        <asp:ListItem Value="3" Text="三月份"></asp:ListItem>
                        <asp:ListItem Value="4" Text="四月份"></asp:ListItem>
                        <asp:ListItem Value="5" Text="五月份"></asp:ListItem>
                        <asp:ListItem Value="6" Text="六月份"></asp:ListItem>
                        <asp:ListItem Value="7" Text="七月份"></asp:ListItem>
                        <asp:ListItem Value="8" Text="八月份"></asp:ListItem>
                        <asp:ListItem Value="9" Text="九月份"></asp:ListItem>
                        <asp:ListItem Value="10" Text="十月份"></asp:ListItem>
                        <asp:ListItem Value="11" Text="十一月份"></asp:ListItem>
                        <asp:ListItem Value="12" Text="十二月份"></asp:ListItem>
                    </asp:DropDownList><span style="color: Red">按照预算推荐时可不选择，按照月份推荐的必须填写</span>
                </td>
            </tr>
              <tr>
                <td align="right">
                    预算：
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="dropPrice"></asp:DropDownList>
                    <span style="color: Red">按照预算推荐时可不选择，按照月份推荐的必须填写</span>
                </td>
            </tr>
            <tr>
                <td align="right">
                    价格：
                </td>
                <td>
                    <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    推荐理由：
                </td>
                <td>
                    <asp:TextBox ID="txtOther" runat="server" TextMode="MultiLine" Width="303px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnSend" runat="server" Text="提 交" OnClick="btnSend_Click" />&nbsp;
                    <asp:Button ID="BtnCancle" runat="server" Text="返 回" 
                        onclick="BtnCancle_Click" />
                    <asp:TextBox ID="txtIdHid" runat="server" Style="visibility: hidden"></asp:TextBox><!--传递唯一标识-->
                   
                    <asp:TextBox ID="txtSign" runat="server" Style="visibility: hidden"></asp:TextBox><!--传递操作-->
                    <asp:TextBox ID="txtHidMID" runat="server" Style="visibility: hidden"></asp:TextBox><!--保存物品ID-->
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
